home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
graphic
/
pbmpl91d.zip
/
PBMPLUS
/
PATCH
/
PNMMERGE.DIF
< prev
next >
Wrap
Text File
|
1993-01-08
|
3KB
|
84 lines
*** \pbmplus1.old\pnm\pnmmerge.c Sun Oct 11 04:50:48 1992
--- pnm\pnmmerge.c Mon Nov 2 19:10:28 1992
***************
*** 26,30 ****
else
cp = argv[0];
! if ( strcmp( cp, "pnmmerge" ) == 0 )
{
++argv;
--- 26,30 ----
else
cp = argv[0];
! if ( strcmp( cp, "pnmmerge.exe" ) == 0 )
{
++argv;
***************
*** 35,66 ****
#define TRY(s,m) { if ( strcmp( cp, s ) == 0 ) exit( m( argc, argv ) ); }
! TRY("pnmarith", pnmarith_main);
! TRY("pnmcat", pnmcat_main);
! TRY("pnmconvol", pnmconvol_main);
! TRY("pnmcrop", pnmcrop_main);
! TRY("pnmcut", pnmcut_main);
! TRY("pnmdepth", pnmdepth_main);
! TRY("pnmenlarge", pnmenlarge_main);
! TRY("pnmfile", pnmfile_main);
! TRY("pnmflip", pnmflip_main);
! TRY("pnmgamma", pnmgamma_main);
! TRY("pnminvert", pnminvert_main);
! TRY("pnmnoraw", pnmnoraw_main);
! TRY("pnmpaste", pnmpaste_main);
! TRY("pnmrotate", pnmrotate_main);
! TRY("pnmscale", pnmscale_main);
! TRY("pnmshear", pnmshear_main);
! TRY("pnmtile", pnmtile_main);
! TRY("pnmtops", pnmtops_main);
! TRY("pnmtorast", pnmtorast_main);
#ifdef LIBTIFF
! TRY("pnmtotiff", pnmtotiff_main);
#endif /*LIBTIFF*/
! TRY("pnmtoxwd", pnmtoxwd_main);
! TRY("rasttopnm", rasttopnm_main);
#ifdef LIBTIFF
! TRY("tifftopnm", tifftopnm_main);
#endif /*LIBTIFF*/
! TRY("xwdtopnm", xwdtopnm_main);
(void) fprintf(
--- 35,67 ----
#define TRY(s,m) { if ( strcmp( cp, s ) == 0 ) exit( m( argc, argv ) ); }
! TRY("pnmarith.exe", pnmarith_main);
! TRY("pnmcat.exe", pnmcat_main);
! TRY("pnmcomp.exe", pnmcat_main);
! TRY("pnmconvo.exe", pnmconvol_main);
! TRY("pnmcrop.exe", pnmcrop_main);
! TRY("pnmcut.exe", pnmcut_main);
! TRY("pnmdepth.exe", pnmdepth_main);
! TRY("pnmenlar.exe", pnmenlarge_main);
! TRY("pnmfile.exe", pnmfile_main);
! TRY("pnmflip.exe", pnmflip_main);
! TRY("pnmgamma.exe", pnmgamma_main);
! TRY("pnminver.exe", pnminvert_main);
! TRY("pnmnoraw.exe", pnmnoraw_main);
! TRY("pnmpaste.exe", pnmpaste_main);
! TRY("pnmrotat.exe", pnmrotate_main);
! TRY("pnmscale.exe", pnmscale_main);
! TRY("pnmshear.exe", pnmshear_main);
! TRY("pnmtile.exe", pnmtile_main);
! TRY("pnmtops.exe", pnmtops_main);
! TRY("pnmtoras.exe", pnmtorast_main);
#ifdef LIBTIFF
! TRY("pnmtotif.exe", pnmtotiff_main);
#endif /*LIBTIFF*/
! TRY("pnmtoxwd.exe", pnmtoxwd_main);
! TRY("rasttopn.exe", rasttopnm_main);
#ifdef LIBTIFF
! TRY("tifftopn.exe", tifftopnm_main);
#endif /*LIBTIFF*/
! TRY("xwdtopnm.exe", xwdtopnm_main);
(void) fprintf(